package com.aaa.ssm.service;

import org.springframework.web.multipart.MultipartFile;

import java.util.Map;

/**
 * @ fileName:CommonFileHandlerService
 * @ description: 封装通用文件处理（上传，下载）服务
 * @ createTime:2023/4/7 11:01
 * @ version:1.0.0
 */
public interface CommonFileHandlerService {
    /**
     * 封装的图片上传方法
     * @param multipartFile
     * @param savePath
     * @return
     */
    Map uploadFile(MultipartFile multipartFile,String savePath);
}
